package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

/**
 * 员工信息
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【员工简略信息】详情展示对象")
@Data
public class EmpReduceInfoVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "员工id")
    private String id;

    @ApiModelProperty(notes = "员工名称")
    private String name;

    @ApiModelProperty(notes = "员工手机号")
    private String phone;

    @ApiModelProperty(notes = "员工身份证号")
    private String idCard;

    @ApiModelProperty(notes = "用户id")
    private String userId;

    @ApiModelProperty(notes = "员工状态")
    private Integer status;

    @ApiModelProperty(notes = "入职城市code")
    private String joinCityCode;

    @ApiModelProperty(notes = "公司id")
    private String companyId;

    @ApiModelProperty(notes = "部门id")
    private String depId;

    @ApiModelProperty(notes = "部门名称")
    private String depName;

    @ApiModelProperty(notes = "部门是否有效名称")
    private Boolean depIsValid;

    @ApiModelProperty(notes = "岗位id")
    private String positionId;

    @ApiModelProperty(notes = "岗位名称")
    private String positionName;

    @ApiModelProperty(notes = "岗位是否有效")
    private Boolean positionIsValid;

    @ApiModelProperty(notes = "合同类型")
    private Integer contractType;

    @ApiModelProperty(notes = "合同终止日期")
    private Date endDate;

    @ApiModelProperty(notes = "合同期限")
    private Integer dateline;

    @ApiModelProperty(notes = "签订日期")
    private Date signDate;

}

